package com.larry.tinyweb.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created by larry on 16/12/3.
 *
 * RM是RequestMap的缩写，Action的请求路径
 *
 */


@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RUNTIME)
public @interface RM {
    String value() default "";
    String method() default "GET";
}